#ifndef _MISC_WIN32_H_
#define _MISC_WIN32_H_

void createNeedDir();
bool directoryExists(const wchar_t* dirname);
void pathCheck(wchar_t* path);
int directLoadGame(wchar_t* name);
bool createToolTip(int toolID, HWND hDlg, wchar_t* pText);
int commonFileDialog(HWND owner, bool save, const wchar_t* title = 0, const wchar_t* filter = 0, const wchar_t* dir = 0, const wchar_t* ext = 0);
int appDirectory();
int getClientScreenRect(HWND hWnd, RECT* pRect);
int wndInMid(HWND hMid, HWND hBase);
void setWindowAspect();
double getWindowAspect();
char* decorateGameName(unsigned int drv);
char* decorateKailleraGameName(unsigned int drv);
int findRom(int i, struct ArcEntry* list, int count, unsigned drvIndex);

#endif // _MISC_WIN32_H_
